package com.xinzhi.entity;
//购物车
public class Cart {
    private String username;
    private int price;
    private int number;
    private User User = new User();

    public String getName() {
        return username;
    }

    public void setName(String username) {
        this.username = username;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public com.xinzhi.entity.User getUser() {
        return User;
    }

    public void setUser(com.xinzhi.entity.User user) {
        User = user;
    }
}
